Part Number Hot Search : 
C4051 PR1200 TL064B A4973 P3NA60FI 12204 C1H15 TB6548FG
Product Description
Full Text Search
 

To Download AD5381BSTZ-3-REEL Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  40-channel, 3 v/5 v, single-supply, 12-bit, voltage output dac ad5381 features guaranteed monotonic inl error: 1 lsb max on-chip 1.25 v/2.5 v, 10 ppm/c reference temperature range: C40c to +85c rail-to-rail output amplifier power-down package type: 100-lead lqfp (14 mm 14 mm) user interfaces: parallel serial (spi?-/qspi?-/microwire?-/dsp-compatible, featuring data readback) i 2 c?-compatible integrated functions channel monitor simultaneous output update via ldac clear function to user-programmable code amplifier boost mode to optimize slew rate user-programmable offset and gain adjust toggle mode enables square wave generation thermal monitors applications variable optical attenuators (voas) level setting (ate) optical micro-electro-mechanical systems (mems) control systems instrumentation functional block diagram r r vout0 dac 0 dac reg0 input reg0 12 12 12 12 12 12 m reg0 c reg0 1.25v/2.5v reference power-on reset 39-to-1 mux vout1 vout2 vout3 vout4 vout5 dac 1 dac reg1 input reg1 12 12 12 12 12 12 m reg1 c reg1 vout6 dac 6 dac reg6 input reg6 12 12 12 12 12 12 m reg6 c reg6 vout7 vout8 dac 7 dac reg7 input reg7 12 12 12 12 12 12 m reg7 c reg7 5 03732-001 fifo + state machine + control logic interface control logic db11/(din/sda) db10/(sclk/scl) db9/(spi/i 2 c) db8 a5 a0 vout0???vout38 reg0 reg1 reset busy clr pd ser/par fifo en cs/(sync/ad0) wr/(dcen/ad1) sdo vout39/mon_out ldac vout38 dvdd (3) dgnd (3) avdd (5) agnd (5) dac_gnd (5) refgnd refout/refin signal_gnd (5) ad5381 db0 r r r r r r figure 1. rev. b information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any patent or patent ri ghts of analog devices. trademarks and registered trademarks are the property of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781.329.4700 www.analog.com fax: 781.461.3113 ? 2005 analog devices, inc. all rights reserved.
ad5381 rev. b | page 2 of 40 table of contents general description ......................................................................... 3 specifications ..................................................................................... 4 ad5381-5 specifications ............................................................. 4 ad5381-3 specifications ............................................................. 6 ac characteristics ........................................................................ 7 timing characteristics ..................................................................... 8 serial interface timing ................................................................ 8 i 2 c serial interface timing ........................................................ 10 parallel interface timing ........................................................... 11 absolute maximum ratings .......................................................... 13 esd caution ................................................................................ 13 pin configuration and function descriptions ........................... 14 ter mi nolo g y .................................................................................... 17 typical performance characteristics ........................................... 18 functional description .................................................................. 21 dac architecturegeneral ..................................................... 21 data decoding ............................................................................ 21 on-chip special function registers (sfr) ............................ 22 sfr commands .......................................................................... 22 hardware functions ....................................................................... 25 reset function ............................................................................ 25 asynchronous clear function .................................................. 25 busy and ldac functions ...................................................... 25 fifo operation in parallel mode ............................................ 25 power-on reset .......................................................................... 25 power-down ............................................................................... 25 interfaces .......................................................................................... 26 dsp-, spi-, microwire-compatible serial interfaces ..... 26 i 2 c serial interface ..................................................................... 28 parallel interface ......................................................................... 30 microprocessor interfacing ....................................................... 31 application information ................................................................ 33 power supply decoupling ......................................................... 33 typical configuration circuit .................................................. 33 monitor function ....................................................................... 34 toggle mode function ............................................................... 34 thermal monitor function ....................................................... 34 optical attenuators .................................................................... 35 utilizing fifo ............................................................................. 35 outline dimensions ....................................................................... 37 ordering guide .......................................................................... 37 revision history 8/05rev. a to rev. b changes to table 2............................................................................ 3 changes to specifications section.................................................. 4 changes to absolute maximum ratings section....................... 13 changes to figure 43...................................................................... 35 changes to ordering guide .......................................................... 37 6/04data sheet changed from rev. 0 to rev. a changes to ordering guide ...........................................................36 5/04revision 0: initial version
ad5381 rev. b | page 3 of 40 general description the ad5381 is a complete, single-supply, 40-channel, 12-bit dac available in a 100-lead lqfp package. all 40 channels have an on-chip output amplifier with rail-to-rail operation. the ad5381 includes a programmable internal 1.25 v/2.5 v, 10 ppm/c reference, an on-chip channel monitor function that multiplexes the analog outputs to a common mon_out pin for external monitoring, and an output amplifier boost mode, which allows optimization of the amplifier slew rate. the ad5381 contains a double-buffered parallel interface featuring 20 ns wr pulse width, an spi-/qspi-/microwire-/dsp- compatible serial interface with interface speeds in excess of 30 mhz, and an i 2 c-compatible interface that supports a 400 khz data transfer rate. an input register followed by a dac register provides double buffering, allowing the dac outputs to be updated independ- ently or simultaneously using the ldac input. each channel has a programmable gain and offset adjust register that allows the user to fully calibrate any dac chan- nel. power consumption is typically 0.25 ma/channel with boost mode disabled. table 1. other low voltage single-s upply dacs in product family model resolution avdd range output channels linearity error (lsb) package description package option ad5380bst-5 14 bits 4.5 v to 5.5 v 40 4 100-lead lqfp st-100 ad5380bst-3 14 bits 2.7 v to 3.6 v 40 4 100-lead lqfp st-100 ad5384bbc-5 14 bits 4.5 v to 5.5 v 40 4 100-lead cspbga bc-80 ad5384bbc-3 14 bits 2.7 v to 3.6 v 40 4 100-lead cspbga bc-80 ad5382bst-5 14 bits 4.5 v to 5.5 v 32 4 100-lead lqfp st-100 ad5382bst-3 14 bits 2.7 v to 3.6 v 32 4 100-lead lqfp st-100 ad5383bst-5 12 bits 4.5 v to 5.5 v 32 1 100-lead lqfp st-100 ad5383bst-3 12 bits 2.7 v to 3.6 v 32 1 100-lead lqfp st-100 ad5390bst-5 14 bits 4.5 v to 5.5 v 16 3 52-lead lqfp st-52 ad5390bcp-5 14 bits 4.5 v to 5.5 v 16 3 64-lead lfcsp cp-64 ad5390bst-3 14 bits 2.7 v to 3.6 v 16 4 52-lead lqfp st-52 ad5390bcp-3 14 bits 2.7 v to 3.6 v 16 4 64-lead lfcsp cp-64 ad5391bst-5 12 bits 4.5 v to 5.5 v 16 1 52-lead lqfp st-52 ad5391bcp-5 12 bits 4.5 v to 5.5 v 16 1 64-lead lfcsp cp-64 ad5391bst-3 12 bits 2.7 v to 3.6 v 16 1 52-lead lqfp st-52 ad5391bcp-3 12 bits 2.7 v to 3.6 v 16 1 64-lead lfcsp cp-64 ad5392bst-5 14 bits 4.5 v to 5.5 v 8 3 52-lead lqfp st-52 ad5392bcp-5 14 bits 4.5 v to 5.5 v 8 3 64-lead lfcsp cp-64 ad5392bst-3 14 bits 2.7 v to 3.6 v 8 4 52-lead lqfp st-52 ad5392bcp-3 14 bits 2.7 v to 3.6 v 8 4 64-lead lfcsp cp-64 table 2. 40-channel, bipo lar voltage output dac model resolution analog supplies output channels linearity error package package option ad5379abc 14 bits 11.4 v to 16.5 v 40 3 108-lead cspbga bc-108 ad5378abc 14 bits 11.4 v to 16.5 v 32 3 108-lead cspbga bc-108
ad5381 rev. b | page 4 of 40 specifications ad5381-5 specifications avdd 4.5 v to 5.5 v dvdd 2.7 v to 5.5 v, agnd dgnd 0 v external refin 2.5 v all specifications t min to t max , unless otherwise noted. table 3. parameter ad5381-5 1 unit test conditions/comments accuracy output unloaded resolution 12 bits relative accuracy 2 (inl) 1 lsb max differential nonlinearity (dnl) 1 lsb max guaranteed monotonic over temperature zero-scale error 4 mv max offset error 4 mv max measured at code 32 in the linear region offset error tc 5 v/c typ gain error 0.024 % fsr max at 25c 0.06 % fsr max t min to t max gain temperature coefficient 3 2 ppm fsr/c typ dc crosstalk 3 0.5 lsb max reference input/output reference input 3 reference input voltage 2.5 v 1% for specified performance, avdd = 2 refin + 50 mv dc input impedance 1 m min typically 100 m input current 10 a max typically 30 na reference range 1 to avdd/2 v min/max reference output 4 enabled via cr8 in the ad5381 control register, cr10 selects the reference voltage output voltage 2.495/2.505 v min/max at ambient, optimized for 2.5 v operation. cr10 = 1 1.22/1.28 v min/max cr10 = 0 reference tc 10 ppm/c max temperature range: +25c to +85c 15 ppm/c max temperature range: C40c to +85c output characteristics 3 output voltage range 2 0/avdd v min/max short-circuit current 40 ma max load current 1 ma max capacitive load stability r l = 200 pf max r l = 5 k 1000 pf max dc output impedance 0.5 max monitor pin output impedance 500 typ three-state leakage current 100 na typ logic inputs (except sda/scl) 3 dvdd = 2.7 v to 5.5 v v ih , input high voltage 2 v min v il , input low voltage 0.8 v max input current 10 a max total for all pins; t a = t min to t max pin capacitance 10 pf max
ad5381 rev. b | page 5 of 40 parameter ad5381-5 1 unit test conditions/comments logic inputs (sda, scl only) v ih , input high voltage 0.7 dvdd v min smbus compatible at dvdd < 3.6 v v il , input low voltage 0.3 dvdd v max smbus compatible at dvdd < 3.6 v i in , input leakage current 1 a max v hyst , input hysteresis 0.05 dvdd v min c in , input capacitance 8 pf typ glitch rejection 50 ns max input filtering suppresses noise spikes of less than 50 ns logic outputs ( busy , sdo) 3 v ol , output low voltage 0.4 v max dvdd = 5 v 10%, sinking 200 a v oh , output high voltage dvdd C 1 v min dvdd = 5 v 10%, sourcing 200 a v ol , output low voltage 0.4 v max dvdd = 2.7 v to 3.6 v, sinking 200 a v oh , output high voltage dvdd C 0.5 v min dvdd = 2.7 v to 3.6 v, sourcing 200 a high impedance leakage current 1 a max sdo only high impedance output capacitance 5 pf typ sdo only logic output (sda) 3 v ol , output low voltage 0.4 v max i sink = 3 ma 0.6 v max i sink = 6 ma three-state leakage current 1 a max three-state output capacitance 8 pf typ power requirements avdd 4.5/5.5 v min/max dvdd 2.7/5.5 v min/max power supply sensitivity 3 ?midscale/?v dd C85 db typ ai dd 0.375 ma/channel max outputs un loaded, boost off; 0.25 ma/channel typ 0.475 ma/channel max outputs unlo aded, boost on.; 0.325 ma /channel typ di dd 1 ma max v ih = dvdd, v il = dgnd ai dd (power-down) 2 a max di dd (power-down) 20 a max power dissipation 80 mw max outputs unloaded, boost off, avdd = dvdd = 5 v 1 ad5381-5 is calibrated using an extern al 2.5 v reference. temp erature range for all vers ions: C40c to +85c. 2 accuracy guaranteed from vout = 10 mv to avdd C 50 mv. 3 guaranteed by characterization, not production tested. 4 default on the ad5381-5 is 2.5 v. programmable to 1.25 v via cr10 in the ad5381 control register; operating the ad5381-5 with a 1.25 v reference will lead to degraded accuracy specifications.
ad5381 rev. b | page 6 of 40 ad5381-3 specifications avdd 2.7 v to 3.6 v dvdd 2.7 v to 5.5 v, agnd dgnd 0 v external refin 1.25 v all specifications t min to t max , unless otherwise noted. table 4. parameter ad5381-3 1 unit test conditions/comments accuracy output unloaded resolution 12 bits relative accuracy 2 (inl) 1 lsb max differential nonlinearity (dnl) 1 lsb max guaranteed monotonic over temperature zero-scale error 4 mv max offset error 4 mv max measured at code 64 in the linear region offset error tc 5 v/c typ gain error 0.024 % fsr max at 25 c 0.1 % fsr max t min to t max gain temperature coefficient 3 2 ppm fsr/c typ dc crosstalk 3 0.5 lsb max reference input/output reference input 3 reference input voltage 1.25 v 1% for specified performance dc input impedance 1 m min typically 100 m input current 10 a max typically 30 na reference range 1 to avdd/2 v min/max reference output 4 enabled via cr8 in the ad5381 control register cr10 selects the reference voltage. output voltage 1.245/1.255 v min/max at ambien t; optimized for 1.25 v operation; cr10 = 0 2.47/2.53 v min/max cr10 = 1 reference tc 10 ppm/c max temp erature range: +25c to +85c 15 ppm/c max temperature range: C40c to +85c output characteristics 3 output voltage range 2 0/avdd v min/max short-circuit current 40 ma max load current 1 ma max capacitive load stability r l = 200 pf max r l = 5 k 1000 pf max dc output impedance 0.5 max monitor pin output impedance 500 typ three-state leakage current 100 na typ logic inputs (except sda/scl) 3 dvdd = 2.7 v to 3.6 v v ih , input high voltage 2 v min v il, input low voltage 0.8 v max input current 10 a max total for all pins; t a = t min to t max pin capacitance 10 pf max logic inputs (sda, scl only) v ih , input high voltage 0.7 dvdd v min smbus compatible at dvdd < 3.6 v v il , input low voltage 0.3 dvdd v max smbus compatible at dvdd < 3.6 v i in , input leakage current 1 a max v hyst , input hysteresis 0.05 dvdd v min c in , input capacitance 8 pf typ glitch rejection 50 ns max input filtering su ppresses noise spikes of less than 50 ns
ad5381 rev. b | page 7 of 40 parameter ad5381-3 1 unit test conditions/comments logic outputs ( busy , sdo) 3 v ol , output low voltage 0.4 v max sinking 200 a v oh , output high voltage dvdd C 0.5 v min sourcing 200 a high impedance leakage current 1 a max sdo only high impedance output capacitance 5 pf typ sdo only logic output (sda) 3 v ol , output low voltage 0.4 v max i sink = 3 ma 0.6 v max i sink = 6 ma three-state leakage current 1 a max three-state output capacitance 8 pf typ power requirements avdd 2.7/3.6 v min/max dvdd 2.7/5.5 v min/max power supply sensitivity 3 ?midscale/?v dd C85 db typ ai dd 0.375 ma/channel max outputs unlo aded, boost off; 0.25 ma/channel typ 0.475 ma/channel max outputs unloaded, boost on; 0.325 ma/channel typ di dd 1 ma max v ih = dvdd, v il = dgnd ai dd (power-down) 2 a max di dd (power-down) 20 a max power dissipation 48 mw max outputs unloaded, boost off, avdd = dvdd = 3 v 1 ad5381-3 is calibrated using an external 1.25 v reference. temper ature range is C 40c to +85c. 2 accuracy guaranteed from vout = 10 mv to avdd C 50 mv. 3 guaranteed by characterization, not production tested. 4 default on the ad5381-3 is 1.25 v. progr ammable to 2.5 v via cr10 in the ad5381 contr ol register; operating the ad5381-3 with a 2.5 v reference will lead to degraded accuracy specifications and limited input code range. ac characteristics 1 avdd 4.5 v to 5.5 v or 2.7 v to 3.6 v dvdd 2.7 v to 5.5 v agnd dgnd 0 v. table 5. parameter all unit test conditions/comments dynamic performance output voltage settling time 1/4 scale to 3/4 scale change settling to 1 lsb 6 s typ 8 s max slew rate 2 2 v/s typ boost mode off, cr9 = 0 3 v/s typ boost mode on, cr9 = 1 digital-to-analog glitch energy 12 nv-s typ glitch impulse peak amplitude 15 mv typ dac-to-dac crosstalk 1 nv-s typ see terminology section digital crosstalk 0.8 nv-s typ digital feedthrough 0.1 nv-s typ effect of input bus activity on dac output under test output noise 0.1 hz to 10 hz 15 v p-p typ ex ternal reference, midscale loaded to dac 40 v p-p typ internal refere nce, midscale loaded to dac output noise spectral density @ 1 khz 150 nv/hz typ @ 10 khz 100 nv/hz typ 1 guaranteed by design and characterization, not production tested. 2 slew rate can be programmed via the current bo ost control bit in the ad5381 control register.
ad5381 rev. b | page 8 of 40 timing characteristics serial interface timing dvdd 2.7 v to 5.5 v avdd 4.5 v to 5.5 v or 2.7 v to 3.6 v agnd dgnd 0 v all specifications t min to t max , unless otherwise noted. table 6. parameter 1 , , 2 3 limit at t min , t max unit description t 1 33 ns min sclk cycle time t 2 13 ns min sclk high time t 3 13 ns min sclk low time t 4 13 ns min sync falling edge to sclk falling edge setup time t 5 4 13 ns min 24 th sclk falling edge to sync falling edge t 6 4 33 ns min minimum sync low time t 7 10 ns min minimum sync high time t 7a 50 ns min minimum sync high time in readback mode t 8 5 ns min data setup time t 9 4.5 ns min data hold time t 10 4 30 ns max 24 th sclk falling edge to busy falling edge t 11 670 ns max busy pulse width low (single channel update) t 12 4 20 ns min 24th sclk falling edge to ldac falling edge t 13 20 ns min ldac pulse width low t 14 100 ns max busy rising edge to dac output response time t 15 0 ns min busy rising edge to ldac falling edge t 16 100 ns min ldac falling edge to dac output response time t 17 8 s typ dac output settling time t 18 20 ns min clr pulse width low t 19 12 s max clr pulse activation time t 20 5 20 ns max sclk rising edge to sdo valid t 21 5 5 ns min sclk falling edge to sync rising edge t 22 5 8 ns min sync rising edge to sclk rising edge t 23 20 ns min sync rising edge to ldac falling edge 1 guaranteed by design and characterization, not production tested. 2 all input signals are specified with t r = t f = 5 ns (10% to 90% of v cc ) and are timed from a voltage level of 1.2 v. 3 see figure 2, figure 3, figure 4, and figure 5. 4 standalone mode only. 5 daisy-chain mode only. c l 50pf t o output pin v oh (min) or v ol (max) 200 a 200 a i ol i oh 03732-002 figure 2. load circuit for digital output timing
ad5381 rev. b | page 9 of 40 1 ldac active during busy. 2 ldac active after busy. busy sync ldac 1 ldac 2 clr vout vout2 vout1 din sclk 03732-003 t 7 t 8 t 9 t 4 t 3 t 1 t 2 t 5 t 17 t 17 t 12 t 13 t 18 t 19 t 16 t 14 t 10 t 15 t 13 t 11 t 6 db0 db23 24 24 figure 3. serial interface timing diagram (standalone mode) t 7a 24 48 sclk sync din sdo db23 db0 db23 db0 db23 db0 input word specifies register to be read undefined nop condition selected register data clocked out 03732-004 figure 4. serial interface timing diagram (data readback mode) t 22 t 13 t 23 t 21 t 2 t 3 t 20 t 8 t 9 t 7 t 4 t 1 sclk sync sdo din ldac 48 24 db23 db0 db0 db23 db23 db0 input word for dac n input word for dac n + 1 undefined input word for dac n 03732-005 figure 5. serial interface timing diagram (daisy-chain mode)
ad5381 rev. b | page 10 of 40 i 2 c serial interface timing dvdd = 2.7 v to 5.5 v; avdd = 4.5 v to 5.5 v or 2.7 v to 3.6 v; agnd = dgnd = 0 v; all specifications t min to t max , unless otherwise noted. table 7. parameter 1 , 2 limit at t min , t max unit description f scl 400 khz max scl clock frequency t 1 2.5 s min scl cycle time t 2 0.6 s min t high , scl high time t 3 1.3 s min t low , scl low time t 4 0.6 s min t hd,sta , start/repeated start condition hold time t 5 100 ns min t su,dat , data setup time t 6 3 0.9 s max t hd,dat , data hold time 0 s min t hd,dat , data hold time t 7 0.6 s min t su,sta , setup time for repeated start t 8 0.6 s min t su,sto , stop condition setup time t 9 1.3 s min t buf , bus free time between a stop and a start condition t 10 300 ns max t r , rise time of scl and sda when receiving 0 ns min t r , rise time of scl and sda when receiving (cmos compatible) t 11 300 ns max t f , fall time of sda when transmitting 0 ns min t f , fall time of sda when receiving (cmos compatible) 300 ns max t f , fall time of scl and sda when receiving 20 + 0.1 c b 4 ns min t f , fall time of scl and sda when transmitting c b 400 pf max capacitive load for each bus line 1 guaranteed by design and characterization, not production tested. 2 see figure 6. 3 a master device must provide a hold time of at least 300 ns for the sda signal (ref erred to the v ih min of the scl signal) in order to bridge the undefined region of scls falling edge. 4 c b is the total capacitance, in pf, of one bus line. t r and t f are measured between 0.3 dvdd and 0.7 dvdd. start condition repeated start condition stop condition t 9 t 3 t 1 t 11 t 4 t 10 t 4 t 5 t 7 t 6 t 8 t 2 sda scl 03732-006 figure 6. i 2 c-compatible serial interface timing diagram
ad5381 rev. b | page 11 of 40 parallel interface timing dvdd 2.7 v to 5.5 v avdd 4.5 v to 5.5 v or 2.7 v to 3.6 v agnd dgnd 0 v all specifications t min to t max , unless otherwise noted. table 8. parameter 1 , , 2 3 limit at t min , t max unit description t 0 4.5 ns min reg0, reg1, address to wr rising edge setup time t 1 4.5 ns min reg0, reg1, address to wr rising edge hold time t 2 20 ns min cs pulse width low t 3 20 ns min wr pulse width low t 4 0 ns min cs to wr falling edge setup time t 5 0 ns min wr to cs rising edge hold time t 6 4.5 ns min data to wr rising edge setup time t 7 4.5 ns min data to wr rising edge hold time t 8 20 ns min wr pulse width high t 9 4 700 ns min minimum wr cycle time (single-channel write) t 10 4 30 ns max wr rising edge to busy falling edge t 11 4 , 5 670 ns max busy pulse width low (single-channel update) t 12 30 ns min wr rising edge to ldac falling edge t 13 20 ns min ldac pulse width low t 14 100 ns max busy rising edge to dac output response time t 15 20 ns min ldac rising edge to wr rising edge t 16 0 ns min busy rising edge to ldac falling edge t 17 100 ns min ldac falling edge to dac output response time t 18 8 s typ dac output se ttling time, boost mode off t 19 20 ns min clr pulse width low t 20 12 smax clr pulse activation time 1 guaranteed by design and characterization, not production tested. 2 all input signals are specified with t r = t r = 5 ns (10% to 90% of dvdd) and timed from a voltage level of 1.2 v. 3 see figure 7. 4 see figure 29. 5 measured with the load circuit of figure 2.
ad5381 rev. b | page 12 of 40 t 18 t 18 t 19 t 20 t 13 t 3 t 2 t 8 t 13 t 11 t 9 t 12 t 0 t 1 t 15 t 7 t 6 t 17 t 16 t 10 t 14 t 4 t 5 reg0, reg1, a5...a0 cs wr db11...db0 busy ldac 1 vout1 vout2 clr vout ldac 2 1 ldac active during busy. 2 ldac active after busy. 03732-007 figure 7. parallel interface timing diagram
ad5381 rev. b | page 13 of 40 absolute maximum ratings t a = 25c, unless otherwise noted. 1 table 9. parameter rating avdd to agnd C0.3 v to +7 v dvdd to dgnd C0.3 v to +7 v digital inputs to dgnd C0.3 v to dvdd + 0.3 v sda/scl to dgnd C0.3 v to +7 v digital outputs to dgnd C0.3 v to dvdd + 0.3 v refin/refout to agnd C0.3 v to avdd + 0.3 v agnd to dgnd C0.3 v to +0.3 v voutx to agnd C0.3 v to avdd + 0.3 v analog inputs to agnd C0.3 v to avdd + 0.3 v operating temperature range commercial (b version) C40c to +85c storage temperature range C65c to +150c junctiontemperature (t j max ) 150c 100-lead lqfp package ja thermal impedance 44c/w reflow soldering peak temperature 230c reflow soldering (pb-free) peak temperature 260(0/-5)c time at peak temperature 10 sec to 40 sec 1 transient currents of up to 100 ma will not cause scr latch-up. stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions above those listed in the operational sections of this specification is not implied. exposure to absolute maxi- mum rating conditions for extended periods may affect device reliability. esd caution esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipmen t and can discharge without detection. although this product features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality.
ad5381 rev. b | page 14 of 40 pin configuration and fu nction descriptions reset db5 db4 db3 db2 db1 db0 nc nc reg0 reg1 vout23 vout22 vout21 vout20 avdd3 agnd3 dac_gnd3 signal_gnd3 vout19 vout18 vout17 vout16 avdd2 agnd2 59 74 75 69 70 71 72 67 68 66 73 64 65 60 61 62 63 57 58 55 56 53 54 52 51 signal_gnd5 dac_gnd5 agnd5 avdd5 vout5 vout6 vout7 vout32 vout33 vout34 vout35 vout36 vout37 vout38 vout39/mon_out vout8 vout9 vout10 vout11 vout12 dac_gnd2 signal_gnd2 vout13 vout14 vout15 26 28 27 29 30 32 33 34 35 36 31 37 38 39 40 42 43 44 45 41 46 47 48 49 50 cs/(sync/ad0) db11/(din/sda) db10/(sclk/scl) db9/(spi/i 2 c) db8 db7 db6 sdo/(a/b) dvdd dgnd dgnd a5 a4 a3 a2 a1 a0 dvdd dvdd dgnd ser/par pd wr (dcen/ad1) ldac busy 100 98 99 97 96 95 94 92 91 90 89 88 87 93 86 85 84 82 81 80 79 78 77 76 83 5 4 3 2 7 6 9 8 1 14 13 12 11 16 15 17 10 19 18 23 22 21 20 24 25 fifo en clr vout24 vout25 vout26 vout27 signal_gnd4 dac_gnd4 agnd4 avdd4 vout28 vout29 vout30 vout31 refgnd refout/refin signal_gnd1 dac_gnd1 avdd1 vout0 vout1 vout2 vout3 vout4 agnd1 pin 1 identifier ad5381 top view (not to scale) 03732-008 nc = no connect figure 8. 100-lead lqfp pin configuration table 10. pin function descriptions mnemonic function voutx buffered analog outputs for channel x. each analog output is driven by a rail-t o-rail output amplifier operating at a gain of 2. each output is capable of driving an output load of 5 k to grou nd. typical output impedance is 0.5 . signal_gnd(1C5) analog ground reference points for ea ch group of eight output channels. a ll signal_gnd pins are tied together internally and should be connected to the ag nd plane as close as possible to the ad5381. dac_gnd(1C5) each group of eight channels contains a dac_gnd pin. this is the ground reference point for the internal 12-bit dac. these pins shound be connected to the agnd plane. agnd(1C5) analog ground reference point. each group of eight cha nnels contains an agnd pin. all agnd pins should be connected externally to the agnd plane. avdd(1C5) analog supply pins. each group of eight channels has a separate avdd pin. these pins are shorted internally and should be decoupled with a 0.1 f ceramic capacitor and 10 f tantalum capacito r. operating range for the ad5381-5 is 4.5 v to 5.5 v; operating range for the ad5381-3 is 2.7 v to 3.6 v. dgnd ground for all digital circuitry. dvdd logic power supply. guaranteed operating range is 2.7 v to 5.5 v. it is reco mmended that these pins be decoupled with a 0.1 f ceramic and a 10 f tantalum capacitors to dgnd. refgnd ground reference poin t for the internal reference.
ad5381 rev. b | page 15 of 40 mnemonic function refout/refin the ad5381 contains a common refout/refin pin. when the in ternal reference is selected, this pin is the reference output. if the application requires an ex ternal reference, it can be applied to this pin and the internal reference can be disabled via the control register. the default for this pin is a reference input. vout39/mon_out this pin has a dual function. it acts as a buffered outp ut for channel 39 in default mo de. however, when the monitor function is enabled, this pin acts as the output of a 39-to-1 channel mu ltiplexer that can be programmed to multiplex one of channels 0 to 38 to the mon_out pin. the mon_out pins output impedance is typically 500 and is intended to drive a high input impedan ce like that exhibited by sar adc inputs. ser/ par interface select input. this pin allows the user to select wh ether the serial or parallel interf ace is used. if it is tied hi gh, the serial interface mode is selected and pin 97 ( spi /i 2 c) is used to determine if th e interface mode is spi or i 2 c. parallel interface mode is selected when ser/ par is low. cs /( sync /ad0) in parallel interface mode, this pin acts as chip select input (level sens itive, active low). when low, the ad5381 is selected. serial interface mode. this is the frame synchron ization input signal for the serial clock and data. i 2 c mode. this pin acts as a hardware address pin used in conjunction with ad1 to determine the software address for the device on the i 2 c bus. wr /(dcen/ad1) multifunction pin. in parallel interface mode, this pin acts as write enable. in serial interface mode, this pin a cts as a daisy-chain enable in spi mode and as a hardware address pin in i 2 c mode. parallel interface write input (edge sensitive). the rising edge of wr is used in conjunction with cs low, and the address bus inputs to write to the selected device registers. serial interface. daisy-chain select input (level sensitive, ac tive high). when high, this si gnal is used in conjunction with ser/ par high to enable the spi serial interface daisy-chain mode. i 2 c mode. this pin acts as a hardware address pin used in conjunction with ad0 to determine the software address for this device on the i 2 c bus. db11Cdb0 parallel data bus. db11 is the msb and db0 is the lsb of the input data-word on the ad5381. a5Ca0 parallel address inputs. a5 to a0 are decoded to address one of the ad5381s 40 input channels. used in conjunction with the reg1 and reg0 pins to determine the destination register for the input data. reg1, reg0 in parallel interface mode, reg1 and re g0 are used in decoding the destinat ion registers for the input data. reg1 and reg0 are decoded to addre ss the input data register, offset register, or gain register for the selected channel and are also used to decide the special function registers. sdo/( a /b) serial data output in seri al interface mode. three-stateable cmos outp ut. sdo can be used for daisy-chaining a number of devices together. data is clocked out on sdo on the rising edge of sclk, and is valid on the falling edge of sclk. when operating in parallel interface mode , this pin acts as the a or b data regi ster select when writing data to the ad5381s data registers with toggle mode selected (see th e toggle mode function section). in toggle mode, the ldac is used to switch the output betw een the data contained in the a and b data registers. all dac channels contain two data registers. in normal mode, data register a is the default for data transfers. busy digital cmos output. busy goes low during internal calc ulations of the data (x2) loaded to the dac data register. during this time, the user can continue writing new data to the x1, c, and m re gisters, but no further updates to the dac registers and dac outputs can take place. if ldac is taken low while busy is low, this event is stored. busy also goes low during power-on reset, and when the reset pin is low. during this time, the interface is disabled and any events on ldac are ignored. a clr operation also brings busy low. ldac load dac logic input (active low). if ldac is taken low while busy is inactive (high), the contents of the input registers are transferred to the dac regist ers and the dac outputs are updated. if ldac is taken low while busy is active and internal calculations are taking place, the ldac event is stored and the dac registers are updated when busy goes inactive. however any events on ldac during power-on reset or on reset are ignored. clr asynchronous clear input. the clr input is falling edge sensitive. when clr is activated, all channels are updated with the data contained in the clr code register. busy is low for a duration of 35 s while all channels are being updated with the clr code. reset asynchronous digital rese t input (falling edge sensitive). the function of this pin is equivalent to that of the power- on reset generator. when this pin is taken low, the state ma chine initiates a reset sequence to digitally reset the x1, m, c, and x2 registers to their default power-on values. this sequence typically takes 270 s. the falling edge of reset initiates the reset process and busy goes low for the duration, returning high when reset is complete. while busy is low, all interfaces are disabled and all ldac pulses are ignored. when busy returns high, the part resumes normal operation and the status of the reset pin is ignored until the next falling edge is detected.
ad5381 rev. b | page 16 of 40 mnemonic function pd power-down (level sensitive, active high). pd is used to place the device in low power mode, where the analog current consumption is reduced to 2 a and the digital current consumption is reduced to 20 a. in power-down mode, all internal analog circuitry is placed in low pow er mode, and the analog outp ut is configured as a high impedance output or provides a 100 k load to ground, depending on how the power-down mode is configured. the serial interface remains active during power-down. fifo en fifo enable (level sensitive, active high ). when connected to dvdd, the internal fifo is enabled, allowing the user to write to the device at full speed. fifo is only available in parallel interface mode. the st atus of the fifo en pin is sampled on power-up, and also following a clear or reset, to determine if the fifo is enabled. in either serial or i 2 c interface modes, the fifo en pin should be tied low. db9/( spi /i 2 c) multifunction input pin. in parallel interface mode, this pin acts as db9 of the parallel input data-word. in serial interface mode, this pin acts as serial interface mode select. when serial interface mode is selected (ser/ par = 1) and this input is low, spi mode is selected . in spi mode, db12 is the serial clock (s clk) input and db11 is the serial data (din) input. when serial interface mode is selected (ser/ par = 1) and this input is high i 2 c mode is selected. in this mode, db12 is the serial clock (scl) input and db11 is the seri al data (sda) input. db10/(sclk/scl) multifunction input pin. in parallel in terface mode, this pin acts as db10 of the parallel input data-word. in serial interface mode, this pin acts as a serial clock input. serial interface mode. in serial interfac e mode, data is clocked into the shift register on the falling edge of sclk. this operates at clock speeds up to 50 mhz. i 2 c mode. in i 2 c mode, this pin performs the scl function, clocking data into the device. the data transfer rate in i 2 c mode is compatible with both 100 khz and 400 khz operating modes. db11/(din/sda) multifunction data input pin. in parallel interface mode, this pin acts as db11 of the para llel input data-word . serial interface mode. in serial interface mode, this pin acts as the serial data input. data mu st be valid on the falling edge of sclk. i 2 c mode. in i 2 c mode, this pin is the serial data pin (s da) operating as an open-drain input/output.
ad5381 rev. b | page 17 of 40 terminology relative accuracy relative accuracy, or endpoint linearity, is a measure of the maimum deviation from a straight line passing through the endpoints of the dac transfer function. it is measured after adusting for ero-scale error and full-scale error, and is epressed in lsb. differential nonlinearity differential nonlinearity is the difference between the measured change and the ideal 1 lsb change between any two adacent codes. a specified differential nonlinearity of 1 lsb maimum ensures monotonicity. zero-scale error zero-scale error is the error in the dac output voltage when all 0s are loaded into the dac regist er. ideally, with all 0s loaded to the dac and m = all 1s, c = 2 n 1 vout zero-scale v zero-scale error s a measre o e erence eeen vout acal an vout eal exresse n mv s manl e o oses n e o amler offset error offset error is a measure of the difference between vot (actual) and vot (ideal) in the linear region of the transfer function, epressed in mv. offset error is measured on the ad5381-5 with code 32 loaded in to the dac register, and on the ad5381-3 with code 64. gain error gain error is specified in the li near region of the output range between vot = 10 mv and vot = avdd 50 mv. it is the deviation in slope of the da c transfer characteristic from the ideal and is epressed in fsr with the dac output unloaded. dc crosstalk this is the dc change in th e output level of one dac at midscale in response to a full-sc ale code (all 0s to all 1s, and vice versa) and output change of all other dacs. it is epressed in lsb. dc output impedance this is the effective output source resistance. it is dominated by package lead resistance. output voltage settling time this is the amount of time it takes for the output of a dac to settle to a specified level for a to full-scale input change, and is measured from the bsy rising edge. digital-to-analog glitch energy this is the amount of energy ine cted into the analog output at the maor code transition. it is sp ecified as the area of the glitch in nv-s. it is measured by toggling the dac register data between 07ff and 0800. dac-to-dac crosstalk dac-to-dac crosstalk is the glitch impulse that appears at the output of one dac due to both the digital change and the subseuent analog output change at another dac. the victim channel is loaded with midsca le. dac-to-dac crosstalk is specified in nv-s. digital crosstalk the glitch impulse transferred to the output of one converter due to a change in the dac register code of another converter is defined as the digital crosstalk and is specified in nv-s. digital feedthrough when the device is not selected , high freuency logic activity on the devices digital inputs can be capacitively coupled both across and through the device to show up as noise on the vot pins. it can also be coupled along the supply and ground lines. this noise is digital feedthrough. output noise spectral density this is a measure of internally generated random noise. random noise is characteried as a spectral density (voltage per ert). it is measured by lo ading all dacs to midscale and measuring noise at the output. it is measured in nv/ in a 1 bandwidth at 10 k .
ad5381 rev. b | page 18 of 40 typical performance characteristics 03732-009 input code 4096 0 512 1024 1536 2048 2560 3072 3584 inl error (lsb) 1.00 0.75 0.50 0.25 0 ?0.25 ?0.50 ?0.75 ?1.00 avdd = 5v refin = 2.5v t a = 25c figure 9. typical ad5381-5 inl plot 03732-010 sample number 550 0 100 150 200 250 300 50 350 400 500450 amplitude (v) 2.523 2.539 2.538 2.537 2.536 2.535 2.534 2.533 2.532 2.531 2.530 2.529 2.528 2.527 2.526 2.525 2.524 avdd = dvdd = 5v v ref = 2.5v t a = 25c 14ns/sample number 1 lsb change around midscale glitch impulse = 10nv-s figure 10. ad5381-5 glitch impulse 03732-011 avdd = dvdd = 5v v ref = 2.5v t a = 25c vout figure 11. slew rate with boost off 03732-012 input code 4096 0 512 1024 1536 2048 2560 3072 3584 inl error (lsb) 1.00 0.75 0.50 0.25 0 ?0.25 ?0.50 ?0.75 ?1.00 avdd = 3v refin = 1.25v t a = 25c figure 12. typical ad5381-3 inl plot 03732-013 sample number 550 0 100 150 200 250 300 50 350 400 500450 amplitude (v) 1.245 1.254 1.253 1.252 1.251 1.250 1.249 1.248 1.247 1.246 avdd = dvdd = 3v v ref = 1.25v t a = 25c 14ns/sample number 1 lsb change around midscale glitch impulse = 5nv-s figure 13. ad5381-3 glitch impulse 03732-014 avdd = dvdd = 5v v ref = 2.5v t a = 25c vout figure 14. slew rate with boost on
ad5381 rev. b | page 19 of 40 03732-015 ai dd (ma) 11 891 0 percentage of units (%) 14 12 10 8 6 4 2 avdd = 5.5v v ref = 2.5v t a = 25c figure 15. ai dd histogram with boost off 03732-016 di dd (ma) 0.8 0.9 0.4 0.5 0.6 0.7 number of units 0 10 8 6 4 2 dvdd = 5.5v v ih = dvdd v il = dgnd t a = 25c figure 16. di dd histogram 03732-017 avdd = dvdd = 5v v ref = 2.5v t a = 25c exits soft pd to midscale vout busy wr figure 17. exiting soft power-down 03732-018 avdd = dvdd = 5v v ref = 2.5v t a = 25c power supply ramp rate = 10ms vout avdd figure 18. power-up transient 03732-019 reference drift (ppm/c) ?5.0 ?1.5 2.5 ?3.5?4.5 ?4.0 0.5?0.5 3.5 ?2.5 1.5 ?1.0 3.0 ?3.0 1.00 4.0 5.0 4.5 ?2.0 2.0 frequency 0 40 30 20 35 25 15 10 5 figure 19. refout temperature coefficient 03732-020 avdd = dvdd = 5v v ref = 2.5v t a = 25c exits hardware pd to midscale pd vout figure 20. exiting hardware power-down
ad5381 rev. b | page 20 of 40 03732-021 current (ma) ?40 ?20 ?10 ?5 ?2 0 2 5 10 20 40 vout (v) ?1 6 4 3 2 5 1 0 zero scale 1/4 scale midscale 3/4 scale full scale avdd = dvdd = 5v v ref = 2.5v t a = 25c figure 21. ad5381-5 output amplifier source and sink capability 03732-024 current (ma) ?40 ?20 ?10 ?5 ?2 0 2 5 10 20 ?40 vout (v) ?1 6 4 3 2 5 1 0 zero scale 1/4 scale midscale 3/4 scale full scale avdd = dvdd = 3v v ref = 1.25v t a = 25c figure 24. ad5381-3 output amplifier source and sink capability 03732-022 i source /i sink (ma) 2.00 0 0.25 0.50 0.75 1.00 1.25 1.50 1.75 error voltage (v) ?0.20 0.20 0.10 0.05 0.15 0 ?0.05 ?0.10 ?0.15 avdd = 5v v ref = 2.5v t a = 25c error at zero sinking current (vdd?vout) at full-scale sourcing current figure 22. headroom at rails vs. source/sink current 03732-025 sample number 550 0 100 150 200 250 300 50 350 400 500450 amplitude (v) 2.449 2.456 2.455 2.454 2.453 2.452 2.451 2.450 avdd = dvdd = 5v v ref = 2.5v t a = 25c 14ns/sample number figure 25. adjacent channel dac-to-dac crosstalk 03732-023 frequency (hz) 100k 100 1k 10k output noise (nv/ hz) 0 600 500 400 300 200 100 avdd = 5v t a = 25c refout decoupled with 100nf capacitor refout = 2.5v refout = 1.25v av dd = dv dd = 5v v ref = 2.5v t a = 25c exits soft pd to midscale 03732-026 avdd = dvdd = 5v t a = 25c dac loaded with midscale external reference y axis = 5 v/div x axis = 100ms/div figure 26. 0.1 hz to 10 hz noise plot figure 23. refout noise spectral density
ad5381 rev. b | page 21 of 40 functional description dac architecturegeneral the ad5381 is a complete, single-supply, 40-channel voltage output dac that offers 12-bit resolution. the part is available in a 100-lead lqfp package and features both a parallel and a serial interface. this product includes an internal, software selectable, 1.25 v/2.5 v, 10 ppm/c reference that can be used to drive the buffered reference inputs alternatively, an external reference can be used to drive these inputs. internal/external reference selection is via the cr8 bit in the control register cr10 selects the reference magnitude if the internal reference is selected. all channels have an on-chip output amplifier with rail-to-rail output capable of driving 5 k in parallel with a 200 pf load. 03732-027 vout r r 12-bit dac dac reg m reg c reg 1 input reg 2 input dat a vref avdd figure 27. single-channel architecture the architecture of a single dac channel consists of a 12-bit resistor-string dac followed by an output buffer amplifier operating at a gain of 2. this resistor-string architecture guarantees dac monotonicity. the 12-bit binary digital code loaded to the dac register determines at what node on the string the voltage is tapped off before being fed to the output amplifier. each channel on these devices contains independent offset and gain control registers that allow the user to digitally trim offset and gain. these registers give the user the ability to calibrate out errors in the complete signal chain, including the dac, using the internal m and c registers, which hold the correction factors. all channels are double buffered, allow- ing synchronous updating of all channels using the ldac pin. figure 27 shows a block diagram of a single channel on the ad5381. the digital input transfer function for each dac can be represented as x2 m 2 2 n x1 c 2 n 1 ere x2 e aa-or loae o e ressor srn x1 e 12- aa-or ren o e n reser m e an coecen eal s xffe te an coecen s ren o e 11 mos sncan s 11 o 1 e s o e aa-or s a n resolon n 12 or 1 c e12- ose coecen eal s x te comlee ranser ncon or ese eces can e reresene as vout 2 v ref x2 2 n ere x2 s e aa-or loae o e ressor srn v ref s exernall ale o e refoutref n for sece erormance an exernal reerence olae o 2 v s recommene or e 1- an 12 v or e 1- data decoding the ad5381 contains a 12-bit data bus, db11 to db0. depend- ing on the value of reg1 and reg0 (see table 11 ), this data is loaded into the addressed dac input registers, offset (c) registers, or gain (m) registers. the format data, offset (c), and gain (m) register contents are shown in table 1 2 to table 14 . table 11. register selection reg1 reg0 register selected 1 1 input data register (x1) 1 0 offset register (c) 0 1 gain register (m) 0 0 special function registers (sfrs) table 12. dac data format (reg1 = 1, reg0 = 1) db11 to db0 dac output (v) 1111 1111 1111 2 v ref (4095/4096) 1111 1111 1110 2 v ref (4094/4096) 1000 0000 0001 2 v ref (2049/4096) 1000 0000 0000 2 v ref (2048/4096) 0111 1111 1111 2 v ref (2047/4096) 0000 0000 0001 2 v ref (1/4096) 0000 0000 0000 0 table 13. offset data format (reg1 = 1, reg0 = 0) db11 to db0 offset (lsb) 1111 1111 1111 +2048 1111 1111 1110 +2047 1000 0000 0001 +1 1000 0000 0000 0 0111 1111 1111 C1 0000 0000 0001 C2047 0000 0000 0000 C2048 table 14. gain data format (reg1 = 0, reg0 = 1) db11 to db0 gain factor 1111 1111 1110 1 1011 1111 1110 0.75 0111 1111 1110 0.5 0011 1111 1110 0.25 0000 0000 0000 0
ad5381 rev. b | page 22 of 40 on-chip special function registers (sfr) the ad5381 contains a number of special function registers (sfrs), as outlined in table 15 . sfrs are addressed with reg1 reg0 0 and are decoded using address bits a5 to a0. table 15. sfr register functions (reg1 = 0, reg0 = 0) r/ w a5 a4 a3 a2 a1 a0 function x 0 0 0 0 0 0 nop (no operation) 0 0 0 0 0 0 1 write clr code 0 0 0 0 0 1 0 soft clr 0 0 0 1 0 0 0 soft power-down 0 0 0 1 0 0 1 soft power-up 0 0 0 1 1 0 0 control register write 1 0 0 1 1 0 0 control register read 0 0 0 1 0 1 0 monitor channel 0 0 0 1 1 1 1 soft reset sfr commands nop (no operation) reg1 reg0 0, a5 to a0 000000 perfors no operation but is useful in serial readback ode to clock out data on d out for diagnostic purposes bus pulses low during a nop operation write clr code reg1 reg0 0, a5 to a0 000001 db11 to db0 contain the clr data bringing the clr line low or exercising the soft clear function will load the contents of the dac registers with the data con- tained in the user configurable clr register, and will set out0 to out3 accordingly this can be very useful for setting up a specific output voltage in a clear condition it is also beneficial for calibration purposes the user can load full scale or ero scale to the clear code register and then issue a hard- ware or software clear to load this code to all dacs, reoving the need for individual writes to each dac default on power- up is all eros soft clr reg1 reg0 0, a5 to a0 000010 db11 to db0 dont care executing this instruction perfors the clr, which is func- tionally the sae as that provided by the external clr pin the dac outputs are loaded with the data in the clr code register it takes 35 s to fully execute the soft clr, as indicated by the bus low tie soft power-down reg1 reg0 0, a5 to a0 001000 db11 to db0 dont care executing this instruction perfors a global power-down feature that puts all channels into a low power ode that reduces the analog supply current to 2 a ax and the digi- tal current to 20 a ax in power-down ode, the output aplifier can be configured as a high ipedance output or provide a 100 k load to ground the contents of all internal registers are retained in power-down ode no register can be written to while in power-down soft power-up reg1 reg0 0, a5 to a0 001001 db11 to db0 dont care this instruction is used to power up the output aplifiers and the internal reference the tie to exit power-down is 8 s the hardware power-down and software function are internally cobined in a digital or function soft reset reg1 reg0 0, a5 to a0 001111 db11 to db0 dont care this instruction is used to ipleent a software reset all internal registers are reset to their default values, which corre- spond to at full scale and c at ero scale the contents of the dac registers are cleared, setting all analog outputs to 0 the soft reset activation tie is 135 s
ad5381 rev. b | page 23 of 40 table 16. control register contents msb lsb cr11 cr10 cr9 cr8 cr7 cr6 cr5 cr4 cr3 cr2 cr1 cr0 control register write/read reg1 = reg0 = 0, a5 to a0 = 001100, r/ w status determines if the operation is a write (r/ w = 0) or a read (r/ w = 1). db11 to db0 contains the control register data. control register contents cr11: power-down status. this bit is used to configure the output amplifier state in power-down. cr11 = 1. amplifier output is high impedance (default on power-up). cr11 = 0. amplifier output is 100 k to ground. cr10: ref select. this bit selects the operating internal reference for the ad5381. cr10 is programmed as follows: cr10 = 1: internal reference is 2.5 v (ad5381-5 default), the recommended operating reference for ad5381-5. cr10 = 0: internal reference is 1.25 v (ad5381-3 default), the recommended operating reference for ad5381-3. cr9: current boost control. this bit is used to boost the current in the output amplifier, thereby altering its slew rate. this bit is configured as follows: cr9 = 1: boost mode on. this maximizes the bias current in the output amplifier, optimizing its slew rate but increasing the power dissipation. cr9 = 0: boost mode off (default on power-up). this reduces the bias current in the output amplifier and reduces the overall power consumption. cr8: internal/external reference. this bit determines if the dac uses its internal reference or an externally applied reference. cr8 = 1: internal reference enabled. the reference output depends on data loaded to cr10. cr8 = 0: external reference selected (default on power-up). cr7: channel monitor enable (see channel monitor function section). cr7= 1: monitor enabled. this enables the channel monitor function. after a write to the monitor channel in the sfr register, the selected channel output is routed to the mon_out pin. vout39 operates at the mon_out pin. cr7 = 0: monitor disabled (default on power-up). when the monitor is disabled, the mon_out pin assumes its normal dac output function. cr6: thermal monitor function. when enabled, this function is used to monitor the internal die temperature of the ad5381. the thermal monitor powers down the output amplifiers when the temperature exceeds 130c. this function can be used to protect the device in cases where power dissipation may be exceeded if a number of output channels are simultaneously short-circuited. a soft power-up will re-enable the output amplifiers if the die temperature has dropped below 130c. cr6 = 1: thermal monitor enabled. cr6 = 0: thermal monitor disabled (default on power-up). cr5: dont care. cr4 to cr0: toggle function enable. this function allows the user to toggle the output between two codes loaded to the a and b registers for each dac. control register bits cr4 to cr0 are used to enable individual groups of eight channels for operation in toggle mode. a logic 1 written to any bit enables a group of channels; a logic 0 disables a group. ldac is used to toggle between the two registers. table 17. cr bit group channels cr4 4 32C39 cr3 3 24C31 cr2 2 16C23 cr1 1 8C15 cr0 0 0C7 channel monitor function reg1 = reg0 = 0, a5 to a0 = 001010 db11Cdb6 = contain data to address the monitored channel. a channel monitor function is provided on the ad5381. this feature, which consists of a multiplexer addressed via the inter- face, allows any channel output to be routed to the mon_out pin for monitoring using an external adc. in channel monitor mode, vout39 becomes the mon_out pin, to which all monitored pins are routed. the channel monitor function must be enabled in the control register before any channels are routed to mon_out. on the ad5381, db11 to db6 contain the channel address for the monitored channel. selecting channel address 63 three-states mon_out.
ad5381 rev. b | page 24 of 40 table 18. ad5381 channel monitor decoding reg1 reg0 a5 a4 a3 a2 a1 a0 db 11 db10 db9 db8 db8 db6 db5db0 monot 0 0 0 0 1 0 1 0 0 0 0 0 0 0 x vout0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 x vout1 0 0 0 0 1 0 1 0 0 0 0 0 1 0 x vout2 0 0 0 0 1 0 1 0 0 0 0 0 1 1 x vout3 0 0 0 0 1 0 1 0 0 0 0 1 0 0 x vout4 0 0 0 0 1 0 1 0 0 0 0 1 0 1 x vout5 0 0 0 0 1 0 1 0 0 0 0 1 1 0 x vout6 0 0 0 0 1 0 1 0 0 0 0 1 1 1 x vout7 0 0 0 0 1 0 1 0 0 0 1 0 0 0 x vout8 0 0 0 0 1 0 1 0 0 0 1 0 0 1 x vout9 0 0 0 0 1 0 1 0 0 0 1 0 1 0 x vout10 0 0 0 0 1 0 1 0 0 0 1 0 1 1 x vout11 0 0 0 0 1 0 1 0 0 0 1 1 0 0 x vout12 0 0 0 0 1 0 1 0 0 0 1 1 0 1 x vout13 0 0 0 0 1 0 1 0 0 0 1 1 1 0 x vout14 0 0 0 0 1 0 1 0 0 0 1 1 1 1 x vout15 0 0 0 0 1 0 1 0 0 1 0 0 0 0 x vout16 0 0 0 0 1 0 1 0 0 1 0 0 0 1 x vout17 0 0 0 0 1 0 1 0 0 1 0 0 1 0 x vout18 0 0 0 0 1 0 1 0 0 1 0 0 1 1 x vout19 0 0 0 0 1 0 1 0 0 1 0 1 0 0 x vout20 0 0 0 0 1 0 1 0 0 1 0 1 0 1 x vout21 0 0 0 0 1 0 1 0 0 1 0 1 1 0 x vout22 0 0 0 0 1 0 1 0 0 1 0 1 1 1 x vout23 0 0 0 0 1 0 1 0 0 1 1 0 0 0 x vout24 0 0 0 0 1 0 1 0 0 1 1 0 0 1 x vout25 0 0 0 0 1 0 1 0 0 1 1 0 1 0 x vout26 0 0 0 0 1 0 1 0 0 1 1 0 1 1 x vout27 0 0 0 0 1 0 1 0 0 1 1 1 0 0 x vout28 0 0 0 0 1 0 1 0 0 1 1 1 0 1 x vout29 0 0 0 0 1 0 1 0 0 1 1 1 1 0 x vout30 0 0 0 0 1 0 1 0 0 1 1 1 1 1 x vout31 0 0 0 0 1 0 1 0 1 0 0 0 0 0 x vout32 0 0 0 0 1 0 1 0 1 0 0 0 0 1 x vout33 0 0 0 0 1 0 1 0 1 0 0 0 1 0 x vout34 0 0 0 0 1 0 1 0 1 0 0 0 1 1 x vout35 0 0 0 0 1 0 1 0 1 0 0 1 0 0 x vout36 0 0 0 0 1 0 1 0 1 0 0 1 0 1 x vout37 0 0 0 0 1 0 1 0 1 0 0 1 1 0 x vout38 0 0 0 0 1 0 1 0 1 0 0 1 1 1 x undefined ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 0 0 0 1 0 1 0 1 1 1 1 1 0 x undefined 0 0 0 0 1 0 1 0 1 1 1 1 1 1 x three-state 03732-028 db11?db6 channel address ad5381 channel monitor decoding 00001010 vout0 vout1 vout37 vout38 vout39/mon_out reg1 reg0 a5 a4 a3 a2 a1 a0 figure 28. channel monitor decoding
ad5381 rev. b | page 25 of 40 hardware functions reset function bringing the reset line low resets the contents of all internal registers to their power-on reset state. reset is a negative edge- sensitive input. the default corresponds to m at full-scale and to c at zero scale. the contents of the dac registers are cleared, setting vout0 to vout39 to 0 v. this sequence takes 270 s. the falling edge of reset initiates the reset process busy goes low for the duration, returning high when reset is complete. while busy is low, all interfaces are disabled and all ldac pulses are ignored. when busy returns high, the part resumes normal operation and the status of the reset pin is ignored until the next falling edge is detected. asynchronous clear function bringing the clr line low clears the contents of the dac registers to the data contained in the user configurable clr register and sets vout0 to vout39 accordingly. this func- tion can be used in system calibration to load zero-scale and full-scale to all channels. the execution time for a clr is 35 s. busy and ldac functions busy is a digital cmos output that indicates the status of the ad5381. the value of x2, the inte rnal data loaded to the dac data register, is calculated each time the user writes new data to the corresponding x1, c, or m registers. during the calculation of x2, the busy output goes low. while busy is low, the user can continue writing new data to the x1, m, or c registers, but no dac output updates can take place. the dac outputs are updated by taking the ldac input low. if ldac goes low while busy is active, the ldac event is stored and the dac outputs update immediately after busy goes high. the user may hold the ldac input permanently low, in which case the dac outputs update immediately after busy goes high. busy also goes low during power-on reset and when a falling edge is detected on the reset pin. during this time, all interfaces are disabled and any events on ldac are ignored. the ad5381 contains an extra feature whereby a dac register is not updated unless its x2 register has been written to since the last time ldac was brought low. normally, when ldac is brought low, the dac registers are filled with the contents of the x2 registers. however, the ad5381 will only update the dac register if the x2 data has changed, thereby removing unnecessary digital crosstalk. fifo operation in parallel mode the ad5381 contains a fifo to optimize operation when operating in parallel interface mode. the fifo enable (level sensitive, active high) is used to enable the internal fifo. when connected to dvdd, the internal fifo is enabled, allowing the user to write to the device at full speed. fifo is only available in parallel interface mode. the status of the fifo en pin is sam- pled on power-up, and after a clr or reset , to determine if the fifo is enabled. in either serial or i 2 c interface modes, fifo en should be tied low. up to 128 successive instructions can be written to the fifo at maximum speed in parallel mode. when the fifo is full, any further writes to the device are ignored. figure 29 shows a comparison between fifo mode and non-fifo mode in terms of channel update time. figure 29 also outlines digital loading time. number of writes time ( s) 1 4 7 10 13 16 19 22 25 28 31 34 37 0 10 5 15 25 20 40 without fifo (channel update time) with fifo (channel update time) with fifo (digital loading time) 03732-029 figure 29. channel update rate (fifo vs. non-fifo) power-on reset the ad5381 contains a power-on reset generator and state machine. the power-on reset resets all registers to a predefined state and configures the analog outputs as high impedance. the busy pin goes low during the power-on reset sequencing, pre- venting data writes to the device. power-down the ad5381 contains a global power-down feature that puts all channels into a low power mode and reduces the analog power consumption to 2 a max and digital power consumption to 20 a max. in power-down mode, the output amplifier can be configured as a high impedance output or can provide a 100 k load to ground. the contents of all internal registers are retained in power-down mode. when exiting power-down, the settling time of the amplifier will elapse before the outputs settle to their correct values.
ad5381 rev. b | page 26 of 40 interfaces the ad5381 contains both parallel and serial interfaces. furthermore, the serial interface can be programmed to be either spi-, dsp-, microwire-, or i 2 c-compatible. the ser/ par pin selects parallel and serial interface modes. in serial mode, the spi /i 2 c pin is used to select dsp-, spi-, microwire-, or i 2 c-interface mode. the devices use an internal fifo memory to allow high speed successive writes in parallel interface mode. the user can con- tinue writing new data to the device while write instructions are being executed. the busy signal indicates the current status of the device, going low while instructions in the fifo are being executed. in parallel mode, up to 128 successive instructions can be written to the fifo at maximum speed. when the fifo is full, any further writes to the device are ignored. to minimize both the power consumption of the device and the on-chip digital noise, the active interface only powers up fully when the device is being written to, that is, on the falling edge of wr or the falling edge of sync . dsp-, spi-, microwire-compatible serial interfaces the serial interface can be operated with a minimum of three wires in standalone mode or four wires in daisy-chain mode. daisy chaining allows many devices to be cascaded together to increase system channel count. the ser/ par pin must be tied high and the spi /i 2 c pin (pin 97) should be tied low to enable the dsp-/spi-/microwire-compatible serial interface. in serial interface mode, the user does not need to drive the paral- lel input data pins. the serial interfaces control pins are sync , din, sclk standard 3-wire interface pins. dcen selects standalone mode or daisy-chain mode. sdo data out pin for daisy-chain mode. figure 3 and figure 5 show timing diagrams for a serial write to the ad5381 in standalone and daisy-chain modes. the 24-bit data-word format for the serial interface is shown in table 19 . a /b this pin selects whether the data write is to the a or b register when toggle mode is enabled. with toggle disabled, this bit should be set to 0 to select the a data register. r/ w is the read or write control bit. a5 to a0 are used to address the input channels. reg1 and reg0 select the register to which data is written, as shown in table 11 . db11 to .db0 contain the input data-word. x is a dont care condition. standalone mode by connecting the dcen (daisy-chain enable) pin low, stand- alone mode is enabled. the serial interface works with both a continuous and a noncontinuous serial clock. the first falling edge of sync starts the write cycle and resets a counter that counts the number of serial clocks to ensure the correct number of bits are shifted into the serial shift register. any further edges on sync , except for a falling edge, are ignored until 24 bits are clocked in. once 24 bits are shifted in, the sclk is ignored. in order for another serial transfer to take place, the counter must be reset by the falling edge of sync . table 19. 40-channel, 12-bit dac serial input register configuration msb lsb a /b r/ w a5 a4 a3 a2 a1 a0 reg1 reg0 db11 db10 db9 db8 db7 db6 db5 db 4 db3 db2 db1 db0 x x
ad5381 rev. b | page 27 of 40 daisy-chain mode for systes that contain several devices, the sdo pin can be used to daisy-chain several devices together this daisy-chain ode can be useful in syste diagnostics and in reducing the nuber of serial interface lines by connecting the dcen (daisy-chain enable) pin high, daisy- chain ode is enabled the first falling edge of snc starts the write cycle the sclk is continuously applied to the input shift register when snc is low if ore than 2 clock pulses are applied, the data ripples out of the shift register and appears on the sdo line this data is clocked out on the rising edge of sclk and is valid on the falling edge by connecting the sdo of the first device to the din input on the next device in the chain, a ultidevice interface is constructed twenty-four clock pulses are reuired for each device in the syste therefore, the total nuber of clock cycles ust eual 2n, where n is the total nuber of ad538x devices in the chain when the serial transfer to all devices is coplete, snc is taken high this latches the input data in each device in the daisy-chain and prevents further data fro being clocked into the input shift register if snc is taken high before 2 clocks are clocked into the part, this is considered a bad frae and the data is discarded the serial clock can be either a continuous or a gated clock a continuous sclk source can only be used if it can be arranged that snc is held low for the correct nuber of clock cycles in gated clock ode, a burst clock containing the exact nuber of clock cycles ust be used and snc ust be taken high after the final clock to latch the data readback mode readback ode is invoked by setting the r/ w bit 1 in the serial input register write with r/ w 1, bits a5 to a0, in association with bits reg1 and reg0, select the register to be read the reaining data bits in the write seuence are dont cares during the next spi write, the data appearing on the sdo output will contain the data fro the previously addressed register for a read of a single register, the nop coand can be used in clocking out the data fro the selected register on sdo figure 30 shows the readback seuence for exaple, to read back the register of channel 0 on the ad5381, the following seuence should be ipleented first, write 0x0 to the ad5381 input register this configures the ad5381 for read ode with the register of channel 0 selected note that data bits db11 to db0 are dont cares follow this with a second write, a nop condition, 0x000000 during this write, the data fro the register is clocked out on the dout line, that is, data clocked out will contain the data fro the register in bit db11 to bit db0, and the top 10 bits contain the address inforation as previously written in readback ode, the snc signal ust frae the data data is clocked out on the rising edge of sclk and is valid on the falling edge of the sclk signal if the sclk idles high between the write and read operations of a readback operation, the first bit of data is clocked out on the falling edge of snc 03732-030 24 48 sclk sync din sdo undefined selected register data clocked out nop condition input word specifies register to be read db23 db0 db0 db23 db23 db0 db0 db23 figure 30. serial readback operation
ad5381 rev. b | page 28 of 40 i 2 c serial interface the ad5381 features an i 2 c-compatible 2-wire interface consisting of a serial data line (sda) and a serial clock line (scl). sda and scl facilitate communication between the ad5381 and the master at rates up to 400 khz. figure 6 shows the 2-wire interface timing diagrams that incorporate three different modes of operation. in selecting the i 2 c operating mode, first configure serial operating mode (ser/ par 1) and then select i 2 c mode by configuring the spi /i 2 c pin to a logic 1. the device is connected to the i 2 c bus as a slave device (that is, no clock is generated by the ad5381). the ad5381 has a 7-bit slave address 1010 1(ad1)(ad0). the 5 msb are hard- coded and the 2 lsb are determined by the state of the ad1 and ad0 pins. the facility to hardware configure ad1 and ad0 allows four of these devices to be configured on the bus. i 2 c data transfer one data bit is transferred during each scl clock cycle the data on sda ust reain stable during the high period of the scl clock pulse changes in sda while scl is high are control signals that configure start and stop conditions both sda and scl are pulled high by the external pull-up resistors when the i 2 c bus is not busy start and stop conditions a aster device initiates counication by issuing a start condition a start condition is a high-to-low transition on sda with scl high a stop condition is a low-to-high transition on sda while scl is high a start condition fro the aster signals the beginning of a transission to the ad5381 the stop condition frees the bus if a repeated start condition (sr) is generated instead of a stop condition, the bus reains active repeated start conditions a repeated start (sr) condition ay indicate a change of data direction on the bus sr can be used when the bus aster is writing to several i 2 c devices and wants to aintain control of the bus acknowledge bit (ack) the acknowledge bit (ack) is the ninth bit attached to any 8-bit data-word ack is always generated by the receiving device the ad5381 devices generate an ack when receiving an address or data by pulling sda low during the ninth clock period monitoring ack allows for detection of unsuccess- ful data transfers an unsuccessful data transfer occurs if a receiving device is busy or if a syste fault has occurred in the event of an unsuccessful data transfer, the bus aster should reattept counication ad5381 slave addresses a bus aster initiates counication with a slave device by issuing a start condition followed by the 7-bit slave address when idle, the ad5381 waits for a start condition followed by its slave address the lsb of the address word is the read/ wr ite (r/ w ) bit the ad5381 is a receive only device when counicating with the ad5381, r/ w 0 after receiving the proper address 1010 1(ad1)(ad0), the ad5381 issues an ack by pulling sda low for one clock cycle the ad5381 has four different user prograable addresses deterined by the ad1 and ad0 bits write operation there are three specific odes in which data can be written to the ad5381 dac 4-byte mode when writing to the ad5381 dacs, the user must begin with an address byte (r/ w = 0) after which the dac acknowl- edges that it is prepared to receive data by pulling sda low. the address byte is followed by the pointer byte this addresses the specific channel in the dac to be addressed and is also acknowledged by the dac. two bytes of data are then written to the dac, as shown in figure 31 . a stop condition follows. this allows the user to update a single channel within the ad5381 at any time and reuires four bytes of data to be transferred from the master. 3-byte mode in 3-byte mode, the user can update more than one channel in a write seuence without having to write the device address byte each time. the device address byte is only reuired once sub- seuent channel updates reuire the pointer byte and the data bytes. in 3-byte mode, the user begins with an address byte (r/ w = 0), after which the dac will acknowledge that it is pre- pared to receive data by pulling sda low. the address byte is followed by the pointer byte. this addresses the specific channel in the dac to be addressed and is also acknowledged by the dac. this is then followed by the two data bytes. reg1 and reg0 determine the register to be updated. if a stop condition does not follow the data bytes, another channel can be updated by sending a new pointer byte followed by the data bytes. this mode only reuires three bytes to be sent to update any channel once the device has been initially addressed, and reduces the software overhead in updating the ad5381 channels. a stop condition at any time eits this mode. figure 32 shows a typical configuration.
ad5381 rev. b | page 29 of 40 1 0 1 0 1 ad1 ad0 r/w 0 0 a5 a4 a3 a2 a1 a0 scl sd a scl sd a start cond by master ack by ad538x ack by ad538x address byte most significant byte least significant byte pointer byte msb ack by ad538x ack by ad538x stop cond by master reg1 reg0 msb lsb msb lsb 03732-031 figure 31. 4-byte ad5381, i 2 c write operation 03732-032 scl s d a s d a scl s d a scl s d a scl start cond by master ack by ad538x msb address byte pointer byte for channel "n" most significant data byte pointer byte for channel "next channel" least significant data byte most significant data byte least significant data byte ack by ad538x ack by ad538x data for channel "n" data for channel "next channel" ack by ad538x 1 0 0 a5 a4 a3 a2 a1 a0 0 1 0 0 0 a5 a4 a3 a2 a1 a0 1 ad1 ad0 r/w reg1 reg0 msb lsb msb lsb msb ack by ad538x ack by ad538x ack by ad538x stop cond by master reg1 reg0 msb lsb msb lsb figure 32. 3-byte ad5381, i 2 c write operation
ad5381 rev. b | page 30 of 40 2-byte mode following initialiation of 2-byte mode, the user can update channels seuentially. the device address byte is only reuired once and the pointer address pointer is configured for auto- increment or burst mode. the user must begin with an address byte (r/ w = 0), after which the dac acknowledges that it is prepared to receive data by pulling sda low. the address byte is followed by a specific pointer byte (0ff) that initiates the burst mode of operation. the address pointer initialies to channel 0, the data following the pointer is loaded to channel 0, and the address pointer automatically increments to the net address. the reg0 and reg1 bits in the data byte determine which register will be updated. in this mode, following the initialia- tion, only the two data bytes are reuired to update a channel. the channel address automatically increments from address 0 to channel 39 and then returns to the normal 3-byte mode of operation. this mode allows transmission of data to all channels in one block and reduces the software overhead in configuring all channels. a stop condition at any time eits this mode. toggle mode is not supported in 2-byte mode. figure 33 shows a typical configuration. parallel interface the ser/ par pin must be tied low to enable the parallel interface and disable the serial interfaces. figure 7 shows the timing diagram for a parallel write. the parallel interface is controlled by the following pins. cs pin active low device select pin wr pin on the rising edge of wr , with cs low, the addresses on pin a5 to pin a0 are latched data present on the data bus is loaded into the selected input registers reg0, reg1 pins the reg0 and reg1 pins deterine the destination register of the data being written to the ad5381 see tabl e 11 pin a5 to pin a0 each of the 0 dac channels can be individually addressed pin db11 to pin db0 the ad5381 accepts a straight 12-bit parallel word on db11 to db0, where db11 is the msb and db0 is the lsb 1 0 1 0 1 ad1 ad0 r/w a7 = 1 a6 = 1 a5 = 1 a4 = 1 a3 = 1 a2 = 1 a1 = 1 a0 = 1 start cond by master address byte pointer byte most significant data byte channel 0 data least significant data byte ack by converter msb ack by converter ack by ad538x ack by ad538x most significant data byte channel 1 data least significant data byte ack by converter ack by converter most significant data byte channel n data followed by stop least significant data byte ack by converter ack by converter stop cond by master reg1 reg0 msb lsb msb lsb reg1 reg0 msb lsb msb lsb reg1 reg0 msb lsb msb lsb scl sda scl sda scl sda scl sda 03732-033 figure 33. 2-byte, 1 2 c write operation
ad5381 rev. b | page 31 of 40 microprocessor interfacing parallel interface the ad5381 can be interfaced to a variety of 16-bit microcon- trollers or dsp processors. figure 35 shows the ad5381 family interfaced to a generic 16-bit microcontroller/dsp processor. the lower address lines from the processor are connected to a0 to a5 on the ad5381. the upper address lines are decoded to provide a cs , ldac s ignal for the ad5381. the fast interface timing of the ad5381 allows direct interface to a wide variety of microcontrollers and dsps, as shown in figure 35 . ad5381 to mc68hc11 the serial peripheral interface (spi) on the mc68hc11 is configured for master mode (mstr = 1), clock polarity bit (cpol) = 0, and the clock phase bit (cpha) = 1. the spi is configured by writing to the spi control register (spcr)see the mc68hc11 user manual. sck of the mc68hc11 drives the sclk of the ad5381, the mosi output drives the serial data line (d in ) of the ad5381, and the miso input is driven from d out . the sync signal is derived from a port line (pc7). when data is being transmitted to the ad5381, the sync line is taken low (pc7). data appearing on the mosi output is valid on the falling edge of sck. serial data from the mc68hc11 is transmitted in 8-bit bytes with only eight falling clock edges occurring in the transmit cycle. 03731-034 mc68hc11 ad5381 miso mosi sck pc7 sdo reset ser/par din sclk sync spi/i 2 c dvdd figure 34. ad5381-to-mc68hc11 interface 03732-035 controller/ dsp processor 1 ad5381 address decode upper bits of address bus data bus a5 d15 d0 a4 a3 a2 a1 a0 r/w a5 a4 a3 a2 a1 a0 wr reg1 reg0 d11 d0 cs ldac 1 additional pins omitted for clarity. figure 35. ad5381-to-parallel interface
ad5381 rev. b | page 32 of 40 ad5381 to pic16c6x/7x the pic16c6x/7x synchronous serial port (ssp) is configured as an spi aster with the clock polarity bit 0 this is done by writing to the synchronous serial port control register (sspcon) see the pic16/17 icrocontroller user anual in this exaple i/o, port ra1 is being used to pulse snc and enable the serial port of the ad5381 this icrocontroller transfers only eight bits of data during each serial transfer operation therefore, three consecutive read/write operations ay be needed depending on the ode figure 36 shows the connection diagra 03732-036 pic16c6x/7x ad5381 sdi/rc4 sdo/rc5 sck/rc3 ra1 sdo reset ser/par din sclk sync spi/i 2 c dvdd figure 36. ad5381-to-pic16c6x/7x interface ad5381 to 8051 the ad5381 reuires a clock synchronied to the serial data the 8051 serial interface ust therefore be operated in mode 0 in this ode, serial data enters and exits through rxd, and a shift clock is output on txd figure 37 shows how the 8051 is connected to the ad5381 because the ad5381 shifts data out on the rising edge of the shift clock and latches data in on the falling edge, the shift clock ust be inverted the ad5381 reuires its data to be msb first since the 8051 outputs the lsb first, the transit routine ust take this into account 03732-037 8xc51 ad5381 rxd txd p1.1 sdo reset ser/par din sclk sync spi/i 2 c dvdd figure 37. ad5381-to-8051 interface ad5381 to adsp-2101/adsp-2103 figure 38 shows a serial interface between the ad5381 and the adsp-2101/adsp-2103 the ad sp-2101/adsp-2103 should be set up to operate in sport transit alternate fraing ode the adsp-2101/adsp-2103 sport is prograed through the sport control register and configured as follows internal clock operation, active low fraing, and 16-bit word length transission is initiated by writing a word to the tx register after the sport has been enabled 03732-038 adsp-2101/ adsp-2103 ad5381 dr dt sck tfs rfs sdo reset ser/par din sclk dvdd spi/i 2 c sync figure 38. ad5381-to-adsp-2101/adsp-2103 interface
ad5381 rev. b | page 33 of 40 application information power supply decoupling in any circuit where accuracy is important, careful considera- tion of the power supply and ground return layout helps to ensure the rated performance. the printed circuit board on which the ad5381 is mounted should be designed so that the analog and digital sections are separated and confined to certain areas of the board. if the ad5381 is in a system where multiple devices require an agnd-to-dgnd connection, the connection should be made at one point only, a star ground point established as close to the device as possible. for supplies with multiple pins (avdd, dvdd), these pins should be tied together. the ad5381 should have ample supply bypassing of 10 f in parallel with 0.1 f on each supply, located as close to the package as possible and ideally right up against the device. the 10 f capacitors are the tantalum bead type. the 0.1 f capacitor should have low effective series resistance (esr) and effective series inductance (esi), like the common ceramic types that provide a low impedance path to ground at high frequencies, to handle transient currents due to internal logic switching. the power supply lines of the ad5381 should use as large a trace as possible to provide low impedance paths and reduce the effects of glitches on the power supply line. fast switching signals such as clocks should be shielded with digital ground to avoid radiating noise to other parts of the board, and should never be run near the reference inputs. a ground line routed between the d in and sclk lines will help reduce crosstalk between them (this is not required on a multilayer board because there will be a separate ground plane, but separat- ing the lines will help). it is essential to minimize noise on the refout/refin line. avoid crossover of digital and analog signals. traces on opposite sides of the board should run at right angles to each other. this reduces the effects of feedthrough through the board. a micro-strip technique is by far the best, but is not always possible with a double-sided board. in this tech- nique, the component side of the board is dedicated to the ground plane while signal traces are placed on the solder side. typical configuration circuit figure 39 shows a typical configuration for the ad5381-5 when configured for use with an external reference. in the circuit shown, all agnd, signal_gnd, and dac_gnd pins are tied together to a common agnd. agnd and dgnd are connected together at the ad5381 device. on power-up, the ad5381 defaults to external reference operation. all avdd lines are connected together and driven from the same 5 v source. it is recommended to decouple close to the device with a 0.1 f ceramic and a 10 f tantalum capacitor. in this application, the reference for the ad5381-5 is provided externally from either an adr421 or adr431 2.5 v reference. suitable external references for the ad5381-3 include the adr280 1.2 v reference. the reference should be decoupled at the refout/refin pin of the device with a 0.1 f capacitor. 03732-039 adr431/ adr421 ad5381-5 avdd dvdd signal_gnd dac_gnd dgnd vout39 vout0 agnd refout/refin refgnd 0.1 f 10 f 0.1 f 0.1 f avdd dvdd figure 39. typical configuration with external reference figure 40 shows a typical configuration when using the internal reference. on power-up, the ad5381 defaults to an external reference; therefore, the internal reference needs to be config- ured and turned on via a write to the ad5381 control register. control register bit cr10 allows the user to choose the reference value; bit cr8 is used to select the internal reference. it is recommended to use the 2.5 v reference when avdd = 5 v, and the 1.25 v reference when avdd= 3 v. 03732-040 ad5381 avdd dvdd signal_gnd dac_gnd dgnd vout39 vout0 agnd refout/refin refgnd 0.1 f 10 f 0.1 f 0.1 f avdd dvdd figure 40. typical configuration with internal reference digital connections have been omitted for clarity. the ad5381 contains an internal power-on reset circuit with a 10 ms brown- out time. if the power supply ramp rate exceeds 10 ms, the user should reset the ad5381 as part of the initialization process to ensure the calibration data is loaded correctly into the device.
ad5381 rev. b | page 34 of 40 monitor function the ad5381 channel monitor function consists of a multiplexer addressed via the interface, allowing any channel output to be routed to this pin for monitoring using an external adc. in channel monitor mode, vout39 becomes the mon_out pin, to which all monitored signals are routed. the channel monitor function must be enabled in the control register before any channels are routed to mon_out. table 18 contains the decoding information required to route any channel to mon_out. selecting channel address 63 three-states mon_out. figure 41 shows a typical monitoring circuit implemented using a 12-bit sar adc in a 6-lead sot-23 package. the controller output port selects the channel to be monitored, and the input port reads the converted data from the adc. ad7476 gnd sdata cs sclk vdd vin vout39/mon_out agnd din sync sclk dac_gnd signal_gnd vout0 vout38 avdd ad5381 output port input port controller 03732-041 figure 41. typical channel monitoring circuit toggle mode function the toggle mode function allows an output signal to be gener- ated using the ldac control signal that switches between two dac data registers. this function is configured using the sfr control register as follows. a write with reg1 reg0 0 and a5 to a0 001100 specifies a control register write. the toggle mode function is enabled in groups of eight channels using bit cr4 to bit cr0 in the control register. see the ad5381 control register description. figure 42 shows a block diagram of toggle mode implementation. each of the 40 dac channels on the ad5381 contain an a and b data register. note that b registers can only be loaded when toggle mode is enabled. the sequence of events when configuring the ad5381 for toggle mode is 1. enable toggle mode for the required channels via the control register. 2. load data to the a registers. 3. load data to the b registers. 4. apply ldac . ldac is used to switch between the a and b registers in determining the analog output. the first ldac configures the output to reflect data in the a registers. this mode offers signif- icant advantages if the user wants to generate a square wave at the output of all 40 channels, as might be required to drive a liquid crystal-based variable optical attenuator. in this case, the user writes to the control register and enables the toggle function by setting cr4 to cr2 = 0, thus enabling the five groups of eight for toggle mode operation. the user must then load data to all 40 a and b registers. toggling ldac sets the output values to reflect the data in the a and b registers. the frequency of the ldac determines the frequency of the square wave output. toggle mode is disabled via the control register. the first ldac following the disabling of the toggle mode will update the out- puts with the data contained in the a registers. thermal monitor function the ad5381 contains a temperature shutdown function to protect the chip if multiple outputs are shorted. the short- circuit current of each output amplifier is typically 40 ma. operating the ad5381 at 5 v leads to a power dissipation of 200 mw per shorted amplifier. with five channels shorted, this leads to an extra watt of power dissipation. for the 100-lead lqfp, the a is typically 44c/w. the thermal monitor is enabled by the user via cr6 in the control register. the output amplifiers on the ad5381 are automatically powered down if the die temperature exceeds approximately 130c. after a thermal shutdown has occurred, the user can re-enable the part by executing a soft power-up if the temperature has dropped below 130c or by turning off the thermal monitor function via the control register.
ad5381 rev. b | page 35 of 40 12-bit dac dac register input data input register data register b data register a a/b vout ldac control input 03732-042 figure 42. toggle mode function optical attenuators based on its high channel count, high resolution, monotonic behavior, and high level of integration, the ad5381 is ideally targeted at optical attenuation applications used in dynamic gain equalizers, variable optical attenuators (voas), and optical add-drop multiplexers (oadms). in these applications, each wavelength is individually extracted using an arrayed wave guide; its power is monitored using a photodiode, transimped- ance amplifier and adc in a closed-loop control system. the ad5381 controls the optical attenuator for each wavelength, ensuring that the power is equalized in all wavelengths before being multiplexed onto the fiber. this prevents information loss and saturation from occurring at amplification stages further along the fiber. utilizing fifo the ad5381 fifo mode optimizes total system update rates in applications where a large number of channels need to be updated. fifo mode is only available when parallel interface mode is selected. the fifo en pin is used to enable the fifo. the status of fifo en is sampled during the initialization sequence. therefore, the fifo status can only be changed by resetting the device. in a telescope that provides for the cancel-lation of atmospheric distortion, for example, a large number of channels need to be updated in a short period of time. in such systems, as many as 400 channels need to be updated within 40 s. four-hundred channels require the use of 10 ad5381s. with fifo mode enabled, the data write cycle time is 40 ns; therefore, each group consisting of 40 channels can be fully loaded in 1.6 s. in fifo mode, a complete group of 40 chan-nels will update in 14.4 s. the time taken to update all 400 channels is 14.4 s + 9 1.6 s = 28.8 s. figure 44 shows the fifo operation scheme. attenuator attenuator attenuator attenuator awg awg fibre fibre dwdm out optical switch 11 12 1n?1 1n dwdm in ad5381, 40-channel, 12-bit dac n:1 multiplexer 16-bit adc controller tia/log amp (ad8304/ad8305) adg731 (40:1 mux) ad7671 (0v to 5v, 1msps) photodiodes add ports drop ports 03732-043 figure 43. oadm using the ad5381 as part of an optical attenuator
ad5381 rev. b | page 36 of 40 group a chnls 0?39 group b chnls 40?79 group c chnls 80?119 group d chnls 120?159 group e chnls 160?199 group f chnls 200?239 group g chnls 240?279 group h chnls 280?319 group i chnls 320?359 group j chnls 360?399 time to update 400 channels = 28.8 s 1.6 s 14.4 s 14.4 s 1.6 s fifo data load group a fifo data load group b output update time for group a 1.6 s 14.4 s fifo data load group j output update time for group j output update time for group b 03732-044 figure 44. using fifo mode 400 ch annels updated in under 30 s
ad5381 rev. b | page 37 of 40 outline dimensions compliant to jedec standards ms-026bed top view (pins down) 1 25 26 51 50 75 76 100 14.00 bsc sq 0.50 bsc lead pitch 0.27 0.22 0.17 1.60 max 0.75 0.60 0.45 view a 16.00 bsc sq 12.00 ref pin 1 1.45 1.40 1.35 0.15 0.05 0.20 0.09 0.08 max coplanarity view a rotated 90 ccw seating plane 7 3.5 0 figure 45. 100-lead low profile quad flat package [lqfp] (st-100) dimensions shown in millimeters ordering guide model resolution temperature range avdd range output channels linearity error (lsb) package description package option ad5381bst-3 12 bits C40c to +85c 2.7 v to 3.6 v 40 1 100-lead lqfp st-100 ad5381bst-3-reel 12 bits C40c to +85c 2.7 v to 3.6 v 40 1 100-lead lqfp st-100 ad5381bstz-3 1 12 bits C40c to +85c 2.7 v to 3.6 v 40 1 100-lead lqfp st-100 AD5381BSTZ-3-REEL 1 12 bits C40c to +85c 2.7 v to 3.6 v 40 1 100-lead lqfp st-100 ad5381bst-5 12 bits C40c to +85c 4.5 v to 5.5 v 40 1 100-lead lqfp st-100 ad5381bst-5-reel 12 bits C40c to +85c 4.5 v to 5.5 v 40 1 100-lead lqfp st-100 ad5381bstz-5 1 12 bits C40c to +85c 4.5 v to 5.5 v 40 1 100-lead lqfp st-100 ad5381bstz-5-reel 1 12 bits C40c to +85c 4.5 v to 5.5 v 40 1 100-lead lqfp st-100 eval-ad5381eb evaluation kit 1 z = pb-free part. i 2 c standard specification as defined by philips.
ad5381 rev. b | page 38 of 40 notes
ad5381 rev. b | page 39 of 40 notes
ad5381 rev. b | page 40 of 40 notes purchase of licensed i 2 c components of analog devices or one of its sublicensed associated companies conveys a license for the purchaser under the phi lips i 2 c patent rights to use these components in an i 2 c system, provided that the system conforms to the i 2 c standard specification as defined by philips. 2005 analog devices, inc. all rights reserved. trademarks and registered trademarks are the prop erty of their respective owners. d03732C0C8/05(b)


▲Up To Search▲   

 
Price & Availability of AD5381BSTZ-3-REEL

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X